From c524d13c5f4bf0cd48e38bab1012d789c3d3a26d Mon Sep 17 00:00:00 2001 From: robertl Date: Mon, 23 Feb 2004 03:24:03 +0000 Subject: [PATCH] Add Street Atlas 2004 Plus, from Jim Bensman a.k.a. junkmailno charter net --- README | 15 +++++++++++++++ internal_styles.c | 32 +++++++++++++++++++++++++++++++- 2 files changed, 46 insertions(+), 1 deletion(-) diff --git a/README b/README index bbf93f737..c7eac3cea 100644 --- a/README +++ b/README @@ -461,6 +461,21 @@ THE FORMATS This is a catch-all used by many Delorme mapping products and reads the anr, rte, and rtd formats as either tracks or routes. + saplus + + This format is for Street Atlas USA 2004 Plus. + + For geocachers importing data from a tool like GSAK or Spinner, + import the file twice in XData. One will create a file with the + Cache description as a hyperlink on the flag. This can clutter + up the screen and when you try to zoom in, it causes problems. + So the second one will only have a flag. Thus you can turn off + and on which one you want to view. The first time you import + the file, in the assign field types, check the circle above Full + Name and then next. The second time you import the file do not + check any circle and in the second to last column, change URL to + none and then click next. Use the same name you used the first + time but add -Flag to it. DATA FILTERS diff --git a/internal_styles.c b/internal_styles.c index 93accec7f..6c52443d6 100644 --- a/internal_styles.c +++ b/internal_styles.c @@ -405,6 +405,36 @@ static char s_and_t[] = "IFIELD DESCRIPTION, \"\", \"%s\" # Name 2 (Big Description)\n" "IFIELD URL, \"\", \"%s\" # URL\n" "IFIELD IGNORE, \"\", \"\" # Holder for Geocache Type\n" +; +static char saplus[] = +"# gpsbabel XCSV style file\n" +"#\n" +"# Format: \n" +"# Author: Jim Bensman\n" +"# Date: 02/22/04\n" +"#\n" + +"DESCRIPTION Delorme Street Atlas Plus\n" + +"#\n" +"# FILE LAYOUT DEFINITIIONS:\n" +"#\n" +"FIELD_DELIMITER COMMA\n" +"RECORD_DELIMITER NEWLINE\n" +"BADCHARS ,\"\n" + +"PROLOGUE Name 2,Name,Latitude,Longitude,URL,Type\n" + +"#\n" +"# INDIVIDUAL DATA FIELDS, IN ORDER OF APPEARANCE:\n" +"#\n" +"IFIELD DESCRIPTION, \"\", \"%s\" # Name 2 (Big Description)\n" +"IFIELD SHORTNAME, \"\", \"%s\" # Name\n" +"IFIELD LAT_DECIMAL, \"\", \"%f\" # Latitude\n" +"IFIELD LON_DECIMAL, \"\", \"%f\" # Longitude\n" +"IFIELD URL, \"\", \"%s\" # URL\n" +"IFIELD IGNORE, \"\", \"\" # Holder for Geocache Type\n" + ; static char tabsep[] = "# gpsbabel XCSV style file\n" @@ -517,4 +547,4 @@ static char xmapwpt[] = "IFIELD DESCRIPTION, \"\", \"%-.78s\"\n" ; #include "defs.h" -style_vecs_t style_list[] = {{ "xmapwpt", xmapwpt } , { "xmap", xmap } , { "tabsep", tabsep } , { "s_and_t", s_and_t } , { "nima", nima } , { "mxf", mxf } , { "mapconverter", mapconverter } , { "gpsman", gpsman } , { "gpsdrive", gpsdrive } , { "fugawi", fugawi } , { "dna", dna } , { "custom", custom } , { "csv", csv } , { "arc", arc } , {0,0}}; +style_vecs_t style_list[] = {{ "xmapwpt", xmapwpt } , { "xmap", xmap } , { "tabsep", tabsep } , { "saplus", saplus } , { "s_and_t", s_and_t } , { "nima", nima } , { "mxf", mxf } , { "mapconverter", mapconverter } , { "gpsman", gpsman } , { "gpsdrive", gpsdrive } , { "fugawi", fugawi } , { "dna", dna } , { "custom", custom } , { "csv", csv } , { "arc", arc } , {0,0}}; -- 2.30.2